package com.yumijinfu.response;

import com.yumijinfu.entity.Huifu;

import org.json.JSONObject;

/**
 *
 * 实名认证响应数据
 */

public class CitizenscertificationRes {
	
    private Huifu huifu;
    private  String realName;
    private  String cardNum;

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public CitizenscertificationRes () {
		
	}	
        
    public CitizenscertificationRes (JSONObject json) {
        if(null!=json){
            if(null!=json.optJSONObject("huifu")){
            this.huifu = new Huifu(json.optJSONObject("huifu"));
            }
            if(null!=json.optString("realName")){
                this.realName=json.optString("realName");
            }
            if (null!=json.optString("cardNum")){
                this.cardNum=json.optString("cardNum");
            }
        }else {
        }


    }
    
    public Huifu getHuifu() {
        return this.huifu;
    }

    public void setHuifu(Huifu huifu) {
        this.huifu = huifu;
    }


    
}
